package com.erp.itm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.erp.itm.dao.ProjectCustnameDao;
import com.erp.itm.domain.ProjectCustnameDO;
import com.erp.itm.service.ProjectCustnameService;



@Service
public class ProjectCustnameServiceImpl implements ProjectCustnameService {
	@Autowired
	private ProjectCustnameDao projectCustnameDao;
	
	@Override
	public ProjectCustnameDO get(Long id){
		return projectCustnameDao.get(id);
	}
	
	@Override
	public List<ProjectCustnameDO> list(Map<String, Object> map){
		return projectCustnameDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return projectCustnameDao.count(map);
	}
	
	@Override
	public int save(ProjectCustnameDO projectCustname){
		return projectCustnameDao.save(projectCustname);
	}
	
	@Override
	public int update(ProjectCustnameDO projectCustname){
		return projectCustnameDao.update(projectCustname);
	}
	
	@Override
	public int remove(Long id){
		return projectCustnameDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return projectCustnameDao.batchRemove(ids);
	}
	
}
